include ../../Makefile.am

CC = tcc
SOURCES = assert.o malloc.o math.o stdio.o string.o time.o
CFLAGS = -I. -I../include 
#-fno-stack-protector -nostdlib -nostdinc -fno-builtin -nodefaultlibs 


all: $(SOURCES)
	$(AR) rcs libc.a $(SOURCES)


clean:
	rm $(SOURCES) libc.a


